-
Notifications
You must be signed in to change notification settings - Fork 19
Update docstrings for clarity #273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #273 +/- ##
=======================================
Coverage 99.92% 99.93%
=======================================
Files 24 24
Lines 1398 1446 +48
=======================================
+ Hits 1397 1445 +48
Misses 1 1
🚀 New features to boost your workflow:
|
sbillinge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is getting much better. Still a few things to look at.
news/docstring.rst
Outdated
|
|
||
| **Changed:** | ||
|
|
||
| * Docstrings updated for better clarity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a fix not a change. Changes refer to changes in user-functionality
src/diffpy/morph/morphapp.py
Outdated
| help="""Look for FIELD in a serial file instead. | ||
| Must specify name of serial file SERIALFILE.""", | ||
| help=( | ||
| "Look for FIELD in a serial file instead. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is a "serial file"? I think we need some more user-friendly text to help with understanding here.
src/diffpy/morph/morphapp.py
Outdated
| "entry, there should be a key {__save_morph_as__} whose value " | ||
| "specifies the name to save the manipulated function as." | ||
| "using a serial file NAMESFILE. The format of NAMESFILE should " | ||
| "be as follows: each target PDF is an entry in NAMESFILE. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we want PDF out here? function instead?
Update our docstrings for clarity. Also remove vestigial references to PDFs.
Closes #268.
Closes #269.